﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace WorldEditor
{
    public class ResizeImage
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private Bitmap tMap;
        public System.Drawing.Bitmap TMap
        {
            get { return tMap; }
            set { tMap = value; }
        }
        public Size tSize;
        public System.Drawing.Size TSize
        {
            get { return tSize; }
            set { tSize = value; }
        }
        public Size mSize;
        public System.Drawing.Size MSize
        {
            get { return mSize; }
            set { mSize = value; }
        }
        public Size tSetSize;
        public System.Drawing.Size TSetSize
        {
            get { return tSetSize; }
            set { tSetSize = value; }
        }
        
        public ResizeImage() { }

        public ResizeImage(Size mapSize, Size tileSize, Size tileSetSize, Bitmap bMap, string strName)
        {
            this.mSize = mapSize;
            this.tSize = tileSize;
            this.tSetSize = tileSetSize;
            this.tMap = bMap;
            this.name = strName;
        }

        public ResizeImage(Bitmap bMap,string strName)
        {
            this.tMap = bMap;
            this.name = strName;
        }
        public override string ToString()
        {
            return name;
        }
    }
}
